package com.ruoyi.projects.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户会员卡对象 sl_member_card
 * 
 * @author yangz
 * @date 2024-12-01
 */
public class SlMemberCardVo
{
    private static final long serialVersionUID = 1L;

    /** 会员卡id */
    private Long id;

    /**
     * 会员卡号
     */
    private String cardNo;

    /*会员昵称**/
    private String customName;

    /** 用户id */
    private Long customId;

    /** 手机号 */
    private String tel;

    /** 总次数 */
    private Long num;

    /** 剩余次数 */
    private Long leftNum;

    /**卡类别 */
    private String cardType;

    /** 开卡价格 */
    private BigDecimal cardPrice;

    /** 状态（1：正常，2：停卡） */
    private Long cardStatus;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getCustomName() {
        return customName;
    }

    public void setCustomName(String customName) {
        this.customName = customName;
    }

    public Long getCustomId() {
        return customId;
    }

    public void setCustomId(Long customId) {
        this.customId = customId;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Long getNum() {
        return num;
    }

    public void setNum(Long num) {
        this.num = num;
    }

    public Long getLeftNum() {
        return leftNum;
    }

    public void setLeftNum(Long leftNum) {
        this.leftNum = leftNum;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public BigDecimal getCardPrice() {
        return cardPrice;
    }

    public void setCardPrice(BigDecimal cardPrice) {
        this.cardPrice = cardPrice;
    }

    public Long getCardStatus() {
        return cardStatus;
    }

    public void setCardStatus(Long cardStatus) {
        this.cardStatus = cardStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
